#ifndef FFTTEST_H
#define FFTTEST_H

#include <QVariant>
#include "qfouriertransformer.h"

#define FFT_BUFFER_SIZE 128

class FFTTest
{
public:
    FFTTest();

    int test1();
    int test2();
    int test3();

    void print(int num, float values[], int size);

    void plotXY(QVariant var);

    void createSamples();

private:
    float samples[FFT_BUFFER_SIZE];
    float fft[FFT_BUFFER_SIZE];

    QFourierTransformer transformer;
};

#endif // FFTTEST_H
